<template>
  <div>
    <!-- loading页面 -->
    <div class="main-loading" v-show="isShow">
      <img src="../../assets/img/5-121204193R5-51.gif" alt="">
  </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      isShow: false
    }
  }
}
</script>

<style lang="scss" scoped>
.main-loading{
  left: 0;
  right: 0;
  top:0;
  bottom:0;
  background-color: rgba(0,0,0,.8);
  position: fixed;
  z-index: 10000;
    img{
      width: 1rem;
      height: 1rem;
      margin-top: 50%;
      margin-left: 50%;
      transform: translateX(-50%);
    }
}

</style>
